const express = require('express');
const router = require('./router')
const app = express();

app.use('/', router)

const server = app.listen(8000, () => {
    const{ address, port } = server.address()
    console.log('http服务已经启动成功http://', address, port)
})